Optimal. Leaf size=32 \[ \frac {2 \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a x^3+b x^4}}\right )}{\sqrt {b}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {2054, 212}
\begin {gather*} \frac {2 \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a x^3+b x^4}}\right )}{\sqrt {b}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 2054
Rubi steps
\begin {align*} \int \frac {x}{\sqrt {a x^3+b x^4}} \, dx &=2 \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x^2}{\sqrt {a x^3+b x^4}}\right )\\ &=\frac {2 \tanh ^{-1}\left (\frac {\sqrt {b} x^2}{\sqrt {a x^3+b x^4}}\right )}{\sqrt {b}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 57, normalized size = 1.78 \begin {gather*} -\frac {2 x^{3/2} \sqrt {a+b x} \log \left (-\sqrt {b} \sqrt {x}+\sqrt {a+b x}\right )}{\sqrt {b} \sqrt {x^3 (a+b x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(55\) vs.
\(2(26)=52\).
time = 0.35, size = 56, normalized size = 1.75
method | result | size |
default | \(\frac {x \sqrt {x \left (b x +a \right )}\, \ln \left (\frac {2 \sqrt {b \,x^{2}+a x}\, \sqrt {b}+2 b x +a}{2 \sqrt {b}}\right )}{\sqrt {b \,x^{4}+a \,x^{3}}\, \sqrt {b}}\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.43, size = 74, normalized size = 2.31 \begin {gather*} \left [\frac {\log \left (\frac {2 \, b x^{2} + a x + 2 \, \sqrt {b x^{4} + a x^{3}} \sqrt {b}}{x}\right )}{\sqrt {b}}, -\frac {2 \, \sqrt {-b} \arctan \left (\frac {\sqrt {b x^{4} + a x^{3}} \sqrt {-b}}{b x^{2}}\right )}{b}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\sqrt {x^{3} \left (a + b x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.72, size = 49, normalized size = 1.53 \begin {gather*} \frac {\log \left ({\left | a \right |}\right ) \mathrm {sgn}\left (x\right )}{\sqrt {b}} - \frac {\log \left ({\left | -2 \, {\left (\sqrt {b} x - \sqrt {b x^{2} + a x}\right )} \sqrt {b} - a \right |}\right )}{\sqrt {b} \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {x}{\sqrt {b\,x^4+a\,x^3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________